package net.lahuobao.mall.dao.finance;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import net.lahuobao.mall.entity.finance.MallCarriersExpenditureAccount;
import net.lahuobao.mall.entity.finance.MallMiddleExpenditureAccount;
import net.lahuobao.mall.entity.finance.MallMiddleIncomeAccount;
import net.lahuobao.mall.entity.finance.MallOrderReportQueryModel;
import net.lahuobao.mall.entity.finance.resultmodel.MallOrderReportResultModel;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by clark on 2016/9/2 0002.
 */
@Repository("mallReportDao")
public interface MallReportMapper {

    /**
     * 查询中间商收入账户 带分页
     * @param mallMiddleIncomeAccount
     * @param pageBounds
     * @return
     */
    public ArrayList<MallMiddleIncomeAccount> selectMallMiddleIncomeAccount(MallMiddleIncomeAccount mallMiddleIncomeAccount, PageBounds pageBounds);

    /**
     * 查询中间商支出账户 带分页
     * @param mallMiddleExpenditureAccount
     * @param pageBounds
     * @return
     */
    public ArrayList<MallMiddleExpenditureAccount> selectMiddleExpenditureAccount(MallMiddleExpenditureAccount mallMiddleExpenditureAccount, PageBounds pageBounds);


    /**
     * 查询承运商支出账户
     * @param mallCarriersExpenditureAccount
     * @return
     */
    public List<MallCarriersExpenditureAccount> selectCarriersExpenditureAccount(MallCarriersExpenditureAccount mallCarriersExpenditureAccount, PageBounds pageBounds);


    /**
     * 订单报表
     * @param queryModel
     * @return
     */
    public List<MallOrderReportResultModel> selectMallOrderReport(MallOrderReportQueryModel queryModel, PageBounds pageBounds);



}
